﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.BusinessManage
{
    /// <summary>
    /// 销售退货
    /// </summary>
    public class SalesReturn : KeyEntity
    {
        /// <summary>
        /// 销售Id
        /// </summary>
        public string? SalesId { get; set; }

        /// <summary>
        /// 退货单号
        /// </summary>
        public string? SalesReturnCode { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public string? ProductId { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int SalesReturnNumber { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal SalesReturnSum { get; set; }
        /// <summary>
        /// 客户名
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 是否入账
        /// </summary>
        public bool SalesReturnState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
